document.addEventListener('DOMContentLoaded', () => {
    document.querySelector('.button').addEventListener('click', loginReq())
})

let loginReq = () => {
    var xhr = new XMLHttpRequest()
    var url = "";
    xhr.open("POST", url, true);

    const username = document.querySelector('#usr')
    const password = document.querySelector('#pwd')

    xhr.send(`username=${username}&password=${password}`)

}